package com.heima.article.service;

import com.heima.article.entity.ApHotArticles;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.dtos.ArticleBehaviorStreamMsg;

/**
 * <p>
 * 热文章表 服务类
 * </p>
 *
 * @author HM
 * @since 2023-05-25
 */
public interface ApHotArticlesService extends IService<ApHotArticles> {
    /**
     * 计算五天发布文章热度
     */
    void calcArticleScore();

    void updateArticleScore(ArticleBehaviorStreamMsg streamMsg);
}
